//index.js
var md5 = require("/../../../../util/MD5.js")
var checkNetWork = require("/../../../../util/CheckNetWork.js")
var disabledToken = require("/../../../../util/disabledToken.js")
var url = require("/../../../common/urlConfig.js")
const app = getApp()


//获取应用实例
Page({

  data: {
    //地图的宽高
    mapHeight: '86%',
    mapWidth: '100%',
  },
   onLoad: function () {
     wx.showLoading({
       title: '正在加载',
     })
   },
   onShow(){
     var that=this
     if (app.globalData.isReady){
       wx.redirectTo({
         url: '../index/index',
       })
      
     }else{
       app.objReadyCallBack=function(){
        
         wx.redirectTo({

           url: '../index/index',
         })
       }
     }
   }
})